package com.sf.fy.uav.applet.order.controller.task;

import com.sf.fy.uav.common.request.order.task.GoodsSoundRecordingDeleteRequest;
import com.sf.fy.uav.common.utils.Rs;
import com.sf.fy.uav.good.service.IGoodsSoundRecordingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商品录音 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-04-25
 */
@RestController
@RequestMapping("/home/goods-sound-recording/")
public class GoodsSoundRecordingController {

    @Autowired
    private IGoodsSoundRecordingService iGoodsSoundRecordingService;

    @PostMapping("delete")
    public Rs<Void> delete(GoodsSoundRecordingDeleteRequest goodsSoundRecordingDeleteRequest) {
        iGoodsSoundRecordingService.delete(goodsSoundRecordingDeleteRequest);
        return Rs.success();
    }
}
